<?php 
$CI =& get_instance();
$CI->load->database();
$CI->load->library("front/header_lib");
$query_pages = $CI->db->get_where('bur_staticpages',array('staticpage_link'=>'landing_page'));
foreach($query_pages->result() as $row_vals)
{
    $title = $row_vals->staticpage_title;
	$metakey_page = $row_vals->staticpage_metakey;
    $metadesc_page = $row_vals->staticpage_metadesc;  
}
$CI->header_lib->display_header_element(array("script"=>array("jquery-1.4.2"),"page_title"=>$title,"metakey_page"=>$metakey_page,"metadesc_page"=>$metadesc_page));
$datas['active_mene_home'] = 1;
$CI->header_lib->display_header($datas);
?>
<style>
    .center_my_li li{text-align: center;}
    /* rotator in-page placement */
    div.rotator {
	position:relative;
	height:72px;
	margin-left: 15px;
	display: none;
}
/* rotator css */
	div.rotator ul li {
	float:left;
	position:absolute;
	list-style: none;
}

/* rotator image style */	
	div.rotator ul li img {
	border:1px solid #ccc;
	padding: 1px;
	background: #FFF;
    height: 72px;
    width: 72px;
}
    div.rotator ul li.show {
	z-index:500
}
</style>
<script type="text/javascript">
/
function theRotator() {
	//Set the opacity of all images to 0
	$('div.rotator ul li').css({opacity: 0.0});
	
	//Get the first image and display it (gets set to full opacity)
	$('div.rotator ul li:first').css({opacity: 1.0});
		
	//Call the rotator function to run the slideshow, 6000 = change to next image after 6 seconds
	
	setInterval('rotate()',6000);
	
}

function rotate() {	
	//Get the first image
	var current = ($('div.rotator ul li.show')?  $('div.rotator ul li.show') : $('div.rotator ul li:first'));

    if ( current.length == 0 ) current = $('div.rotator ul li:first');

	//Get next image, when it reaches the end, rotate it back to the first image
	var next = ((current.next().length) ? ((current.next().hasClass('show')) ? $('div.rotator ul li:first') :current.next()) : $('div.rotator ul li:first'));
	
	//Un-comment the 3 lines below to get the images in random order
	
	//var sibs = current.siblings();
    //var rndNum = Math.floor(Math.random() * sibs.length );
    //var next = $( sibs[ rndNum ] );
			

	//Set the fade in effect for the next image, the show class has higher z-index
	next.css({opacity: 0.0})
	.addClass('show')
	.animate({opacity: 1.0}, 1000);

	//Hide the current image
	current.animate({opacity: 0.0}, 1000)
	.removeClass('show');
	
};



$(document).ready(function() {		
	//Load the slideshow
	theRotator();
	$('div.rotator').fadeIn(1000);
    $('div.rotator ul li').fadeIn(1000); // tweek for IE
});
</script>
<!--body content starts-->
<div id="main">

<?php $this->load->view(TEMPLATE_NAME.'/front/side_left');?>

<div id="middle">
<div class="clear"></div>
  
<h3> Advertising for Premier Members  </h3><?php  //echo $$premium_ads['id'];die();


 echo $premium_ad['id']?>
<div class="premium_block center_my_li">
  
        <?php $cnt=0;if(count($premium_ads)>0 && is_array($premium_ads)){foreach($premium_ads as $premium_ad){
            $photos = $this->Directory_photo_model->get_photo($premium_ad['id']); //print_r($photos);
            if(!empty($photos)){?>
          
                <div class="rotator">
  <ul>
   
                
                <?php foreach($photos as $photo) {?>
              <li class="show"><a href="#link1"> 
               <img height="72" width="72" src="<?php echo site_url('uploads/directory/photo/thumb').'/'.$photo['image'];?>" alt=""/>
                </a>
                </li>
           <?php }?>
           </ul>
           </div>
           <?php }else{
            ?>
            <li>
              <a target="display" href="<?php echo site_url('directory/'.$premium_ad['company_slug_name']);?>">
                  <?php $company_logo = ($premium_ad['company_logo']!="")?$logo_thumbnail_folder.$premium_ad['company_logo']:site_url('xhtml/img/advertiser.gif');?>
                  <img height="72" width="72" title="Click here to register" alt="<?php echo $premium_ad['company'];?>" src="<?php echo $company_logo;?>">
              </a>
                <p style="padding:0px 10px; height:14px;overflow: hidden;"><a style="float: none;" target="display" href="<?php echo site_url('directory/'.$premium_ad['company_slug_name']);?>"><?php echo $premium_ad['company'];?></a></p>
            </li>
        <?php $cnt++;}} }?>
    <?php if($cnt<11){for($i=$cnt;$i<12;$i++){?>
       <li>
              <a target="display" href="<?php echo site_url('register');?>"><img height="72" width="72" title="Click here to register" alt="Advertiser" src="<?php echo site_url('xhtml/img/advertiser.gif');?>"></a>
              <p style="text-align: center;"><a style="float: none;" target="display" href="<?php echo site_url('register');?>">your Ads here</a></p>
       </li>
          <?php }}?>
</ul>

    </div>

 <br clear="all">   
     <div class="under18">

         <p style="text-align:center">

                 <span class="purple">

                Warning this site contains <a href="<?php  echo site_url('register');?>"><b>adult</b></a> material<br />

                Must be 18 years of age or older to <a href="<?php  echo site_url('register');?>">continue</a><br />

               <a href="http://www.google.com" ><b>Exit</b></a> ( quit this page/take out of this page)

               </span>
        </div>



    <div class="warning_box"><img   alt="warning" src="xhtml/img/warning.gif"></div>
 <br clear="all" >
<!--   <h3> Advertising for Global Members  </h3>
<ul><?php for($i=0;$i<12;$i++){?>
 <li>
     <a target="display" href="<?php echo site_url('register');?>"><img height="72" width="72" title="Click here to register" alt="Advertiser" src="<?php echo site_url('xhtml/img/advertiser.gif');?>"></a>
     <p><a target="display" href="<?php echo site_url('register');?>">your Ads here</a></p>
 </li>
<?php }?>
</ul>-->
  <br clear="all" >
   <h3> Advertising for Standard Members  </h3>
<ul class="center_my_li">
     <?php $cnt=0;if(count($standard_ads)>0 && is_array($standard_ads)){foreach($standard_ads as $standard_ad){?>
            <li>
              <a target="display" href="<?php echo site_url('directory/'.$standard_ad['company_slug_name']);?>">
                  <?php $company_logo = ($standard_ad['company_logo']!="")?$logo_thumbnail_folder.$standard_ad['company_logo']:site_url('xhtml/img/advertiser.gif');?>
                  <img height="72" width="72" title="Click here to register" alt="<?php echo $standard_ad['company'];?>" src="<?php echo $company_logo;?>">
              </a>
                <p style="text-align: center;"><a style="float: none;" target="display" href="<?php echo site_url('directory/'.$standard_ad['company_slug_name']);?>"><?php echo $standard_ad['company'];?></a></p>
            </li>
        <?php $cnt++;}}?>
    <?php if($cnt<11){for($i=$cnt;$i<12;$i++){?>
       <li>
              <a target="display" href="<?php echo site_url('register');?>"><img height="72" width="72" title="Click here to register" alt="Advertiser" src="<?php echo site_url('xhtml/img/advertiser.gif');?>"></a>
              <p style="text-align: center;"><a style="float: none;" target="display" href="<?php echo site_url('register');?>">your Ads here</a></p>
       </li>
          <?php }}?>
 </ul>
   <br clear="all" >
    <h3> Advertising for Agency Members  </h3>
<ul class="center_my_li">
    <?php $cnt=0;if(count($featured_ads)>0 && is_array($featured_ads)){foreach($featured_ads as $featured_ad){?>
            <li>
              <a target="display" href="<?php echo site_url('directory/'.$featured_ad['company_slug_name']);?>">
                  <?php $company_logo = ($featured_ad['company_logo']!="")?$logo_thumbnail_folder.$featured_ad['company_logo']:site_url('xhtml/img/advertiser.gif');?>
                  <img height="72" width="72" title="Click here to register" alt="<?php echo $featured_ad['company'];?>" src="<?php echo $company_logo;?>">
              </a>
                <p style="text-align: center;"><a style="float: none;" target="display" href="<?php echo site_url('directory/'.$featured_ad['company_slug_name']);?>"><?php echo $featured_ad['company'];?></a></p>
            </li>
        <?php $cnt++;}}?>
    <?php if($cnt<11){for($i=$cnt;$i<12;$i++){?>
       <li>
              <a target="display" href="<?php echo site_url('register');?>"><img height="72" width="72" title="Click here to register" alt="Advertiser" src="<?php echo site_url('xhtml/img/advertiser.gif');?>"></a>
              <p style="text-align: center;"><a style="float: none;" target="display" href="<?php echo site_url('register');?>">your Ads here</a></p>
       </li>
          <?php }}?>
</ul>
</div>
<?php $this->load->view(TEMPLATE_NAME.'/front/side_right'); ?>

</div>
<!--body content ends-->
<div class="clear"></div>
<div  class="bottom_detail">
    <p>
        Kyprisguide.com&trade (also known as mykyprisguide.com&trade) The Best Guide to Erotic Entertainment&trade offers you free access to 1000's of real adult entertainers and businesses in cities throughout the US,  Mexico, UK and Canada. The Best Guide to Adult Entertainers&trade! Inside you will find photos (videos coming soon) and contact information for adult entertainment services ranging from your local elegant escort companion,  to  adult shops and community event boards. You will always find the finest erotic entertainment on kyprisguide.com&trade for  female/male escorts, erotic massage, entertainment, shemales, dancers, shopping, and professional services in your city and around the world.
www.kyprisguide.com&trade (also known as www.kyprisguide.com. www.mykyprisguide.com, and kyprisads.com&trade) is not an escort agency, nor can we make referrals or recommendation on anyone advertising on this site. If you wish to contact any of the following advertisers
female escort services, exotic dancers, shemale escorts, strippers and other adult entertainers who advertise on kyprisguide.com&trade, please use the contact information in the individual advertisers page.
Copyright &copy; 2010-2011 kyprisguide.com, Inc. All rights reserved. 
You may not reproduce, modify, rent, lease, loan, sell, distribute, mirror, frame, republish, download, store on a retrieval system, transmit, or create derivative works of the website or its content, in whole or in part, by any means without the express written consent from www.kyprisguide.com
This Site is exempt from the provisions of 18 U.S.C. &#167;2257.
    </p>
</div>  
<?php
$CI->load->library("front/footer_lib");
$CI->footer_lib->display_footer();
$CI->footer_lib->display_footer_element();

?>